package br.com.mftc.efitness.basicas;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Transient;

@Embeddable
public class Rg implements Serializable {

	private static final long serialVersionUID = 6806750470227676559L;

	@Transient
	public static final int TAMANHO_MAX_RG = 7, TAMANHO_MAX_ORGAO_EXPEDITOR = 7;

	@Column(length = TAMANHO_MAX_RG)
	private String rg;

	@Column(name = "orgao_expeditor", length = TAMANHO_MAX_ORGAO_EXPEDITOR)
	private String orgaoExpeditor;

	public String getRg() {
		return rg;
	}

	public void setRg(String rg) {
		this.rg = rg;
	}

	public String getOrgaoExpeditor() {
		return orgaoExpeditor;
	}

	public void setOrgaoExpeditor(String orgaoExpeditor) {
		this.orgaoExpeditor = orgaoExpeditor;
	}
}
